go/ast.TypeSpec.Assign (field)
11 uses
go/ast (current package)
ast.go#L918: Assign token.Pos // position of '=', if any
go/parser
parser.go#L2591: spec.Assign = p.pos
parser.go#L2698: spec.Assign = p.pos
go/printer
nodes.go#L1657: if s.Assign.IsValid() {
go/types
decl.go#L252: alias = d.tdecl.Assign.IsValid() // package-level object
decl.go#L547: alias := tdecl.Assign.IsValid()
decl.go#L551: check.error(atPos(tdecl.Assign), _BadDecl, "generic type cannot be alias")
decl.go#L558: check.errorf(atPos(tdecl.Assign), _BadDecl, "type aliases requires go1.9 or later")
decl.go#L705: assert(!check.objMap[obj].tdecl.Assign.IsValid()) // don't use TypeName.IsAlias (requires fully set up object)
resolver.go#L601: if !tdecl.Assign.IsValid() {
resolver.go#L642: if check.objMap[tname].tdecl.Assign.IsValid() {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)